package com.wangnan.service;

import com.api2.User;
import org.springframework.stereotype.Component;


@Component
public class UserProviderBack implements UserConsumerService {

    @Override
    public String isAlive() {
        return "服务降级了";
    }
    @Override
    public User getById(Integer id) {
        return null;
    }
}
